projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
397bced
)
CssSelector: Fix warning for bad pseudo-class name
author
Daniel Boles
<dboles@src.gnome.org>
Sat, 18 Feb 2017 21:01:38 +0000
(21:01 +0000)
committer
Daniel Boles
<dboles@src.gnome.org>
Sat, 18 Feb 2017 21:01:38 +0000
(21:01 +0000)
It was "Missing name of pseudo-class", but the real problem is exactly
the opposite: we /have/ been given a name, but it is not a valid one.
Change it to "Invalid name of pseudo-class" to minimise confusion.
gtk/gtkcssselector.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssselector.c
b/gtk/gtkcssselector.c
index a173e71f06d53ca421e8b39baa8ebd2c5910b69e..e1bda12c3137737a81b30653dcc18c378d122a75 100644
(file)
--- a/
gtk/gtkcssselector.c
+++ b/
gtk/gtkcssselector.c
@@
-1184,7
+1184,7
@@
parse_selector_pseudo_class (GtkCssParser *parser,
}
}
- _gtk_css_parser_error (parser, "
Missing
name of pseudo-class");
+ _gtk_css_parser_error (parser, "
Invalid
name of pseudo-class");
if (selector)
_gtk_css_selector_free (selector);
return NULL;